package com.atguigu.service;

import com.atguigu.pojo.TravelGroup;
import com.atguigu.vo.PageResult;

import java.util.List;

public interface TravelGroupService {
    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    void add(Integer[] travelItemIds, TravelGroup travelGroup);

    TravelGroup findById(Integer id);

    List<Integer> findTravelItemIdByTravelgroupId(Integer id);

    void update(Integer[] travelItemIds, TravelGroup travelGroup);

    void delete(Integer id);

    List<TravelGroup> findAll();

}
